/**
 * related to pray.ui
 * 
 * @Author : wzgl5533
 * @Timestamp : 2017-07-29
 */
var do_GridView_pray_type = ui("do_GridView_pray_type");
var listData = mm("do_ListData");

//初始化祈祷类型
do_GridView_pray_type.templates = "source://view/home/pray/src/gridview_cell.ui";
listData.addData(getPrayTypeImg());
do_GridView_pray_type.bindItems(listData);

//-------------------------------------------------------------------
// 祈祷图片数据

function getPrayTypeImg() {
	
	return [{
		"template":0,
		"image":"source://image/home/item_caifu.png",
		"tag":{id:"CAIFU",name:"财富"}
	},
	{
		"template":0,
		"image":"source://image/home/item_chuxing.png",
		"tag":{id:"CHUXING",name:"出行"}
	},
	{
		"template":0,
		"image":"source://image/home/item_fuqi.png",
		"tag":{id:"FUQI",name:"夫妻"}
	},
	{
		"template":0,
		"image":"source://image/home/item_jiankang.png",
		"tag":{id:"JIANKANG",name:"健康"}
	},
	{
		"template":0,
		"image":"source://image/home/item_jiating.png",
		"tag":{id:"JIATING",name:"家庭"}
	},
	{
		"template":0,
		"image":"source://image/home/item_pingan.png",
		"tag":{id:"PINGAN",name:"平安"}
	},
	{
		"template":0,
		"image":"source://image/home/item_qiuzi.png",
		"tag":{id:"QIUZI",name:"求子"}
	},
	{
		"template":0,
		"image":"source://image/home/item_shiye.png",
		"tag":{id:"SHIYE",name:"事业"}
	},
	{
		"template":0,
		"image":"source://image/home/item_xueye.png",
		"tag":{id:"XUEYE",name:"学业"}
	},
	{
		"template":0,
		"image":"source://image/home/item_yinyuan.png",
		"tag":{id:"YINYUAN",name:"姻缘"}
	}];
}
